Slide
kSlideTransitionType ('slid')
In a slide effect, source B slides onto the screen to cover source A. The angle from which source B enters the frame is stored in a parameter, with 0 degrees being the top of the screen.
In the example above, the angle parameter is tweened, causing source B to approach from a changing angle.
The slide effect takes a maximum of two sources and has two parameters.
Parameters
Use the descriptions below to help you understand what the parameters do. To learn how to use parameter atoms, see
"Adding Video Effects to a QuickTime Movie"
Name
|
Code
|
QTAtom Type
|
Description
|
Percentage
|
'pcnt'
|
kParameterTypeDataFixed
Always a tween
|
This parameter contains a tween. As the effect progresses, QuickTime renders the frame of the effect indicated by the tween's current value, as a percentage of the whole effect. For example, if the tween goes from 0 to 100, the effect renders completely; if the tween goes from 25 to 75, rendering begins 25% into the effect and terminates 75% through the effect.
|
Slide angle
|
'angl'
|
kParameterTypeDataFixed
Can be a tween
|
The angle from which source B will enter the frame. This value is expressed in degrees, with
0
degrees defined as the top of the screen.
|
© 1999 Apple Computer, Inc.
| Previous | Chapter Contents | Chapter Top | Next |